<template>
    <el-table
        :data="tableData"
        style="width: 100%;">
      <template v-for="(item,index) in list">
        <el-table-column
            :prop="item.prop"
            :label="item.label"
            :key="index"
           >
        </el-table-column>
      </template>
    </el-table>
</template>

<script>
export default {
  name: "watch",
  data(){
    return{
      //标题数据
       tableData: [
           {
             times: '10086',
             Dtimes: '10010',
             Ddtimes: '10010',
             number: '1000人',
             Dnumber:'15624人',
             time:'2小时'
           },
       ],
      //表头数据
   list:[
     {prop:'times',label:'总访问次数'},
     {prop:'Dtimes',label:'用户昵称'},
     {prop:'Ddtimes',label:'用户IP'},
     {prop:'number',label:'用户地域'},
     {prop:'time',label:'进入时间'},
     {prop:'time',label:'离开时间'},
     {prop:'time',label:'直播观看时长'},
     {prop:'time',label:'终端类型'},
     {prop:'time',label:'用户信息'},
     {prop:'time',label:'用户角色'},

   ]
    }
  }

}
</script>

<style lang="scss">
</style>
